package com.aspose.cells;

class zakj {
   private zsb e;
   zakp a;
   int b;
   int c;
   int d;

   zsb a() {
      return this.e;
   }

   zakj(zsb var1) {
      this.e = var1;
   }

   CellsColor b() {
      if (this.a == null) {
         this.a = new zakp(true);
      }

      return new CellsColor(this.a().a, this.a);
   }

   void a(CellsColor var1) {
      this.a = var1.a;
   }

   double c() {
      return (double)this.b / zml.i;
   }

   void a(double var1) {
      this.b = (int)(var1 * zml.i);
   }

   double d() {
      return (double)this.c / (double)zml.j;
   }

   void b(double var1) {
      this.c = (int)(var1 * (double)zml.j);
   }

   double e() {
      return (double)this.d / zml.i;
   }

   void c(double var1) {
      this.d = (int)(var1 * zml.i);
   }

   void a(zakj var1) {
      if (var1.a != null) {
         this.a = new zakp(true);
         this.a.f(var1.a);
      } else {
         this.a = null;
      }

      this.b = var1.b;
      this.c = var1.c;
      this.d = var1.d;
   }

   boolean b(zakj var1) {
      if (this.a != null || var1.a != null) {
         if (this.a == null || var1.a == null) {
            return false;
         }

         if (!this.a.g(var1.a)) {
            return false;
         }
      }

      if (this.b != var1.b) {
         return false;
      } else if (this.c != var1.c) {
         return false;
      } else if (this.d != var1.d) {
         return false;
      } else {
         return true;
      }
   }
}
